package com.fowo.api.sys.model;

import com.fowo.api.common.model.PageSearch;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class SysMessageSearch extends PageSearch {
    @Schema(title = "类型")
    private String type;
    
    @Schema(title = "发送者")
    private Long fromUserId;

    @Schema(title = "接收者")
    private Long toUserId;

    @Schema(title = "对话模式，返回 fromUserId,toUserId 之前交互的所有消息")
    private Boolean talks;
}
